package au.edu.utas.yu_qiao_group.luckyman.service;

import android.content.SharedPreferences;

public class UserService {
  public static String getCurrentUserName(SharedPreferences s) {
    return s.getString("login_user_name", "anonymous");
  }
  public static String getCurrentUserCompany(SharedPreferences s) {
    return s.getString("login_user_company", "ANONYMOUS Company Ltd.");
  }
  public static String getCurrentUserCompanyId(SharedPreferences s) {
    return s.getString("login_user_company_id", "");
  }
  public static String getCurrentUserCompanyInfo(SharedPreferences s) {
    return s.getString("login_user_company_info", "");
  }
  public static String getCurrentUserCompanyContact(SharedPreferences s) {
    return s.getString("login_user_company_contact", "");
  }
  public static String getCurrentUserCompanyAvatar(SharedPreferences s) {
    return s.getString("login_user_company_avatar", "");
  }
}
